home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0295.lzh / AMOSLIST / text0072.txt < prev    next >
Encoding:
Text File  |  1995-03-01  |  1.9 KB  |  44 lines

  1.  
  2.  
  3. > To work out who hit who you need to have two "strike zones" for the cars 
  4. > - one at the front, and one that covers the rest of the car.  When a 
  5. > collision occurs, the car whose front zone was hit is the "ramming" car, 
  6. > and the other is the victim.  If both cars' front zones were hit, it was 
  7. > a head on collision.  Ok, now you know who hit whom, you need to modify 
  8. > the cars velocities a bit.  There is a Newtonian equation to do this, and 
  9. > it's pretty simple - each object has a coefficient of elasticity which 
  10. > dictates how much of their energy is lost and how much is transferred in 
  11. > a collision.  Put simply, you just subtract a bit of the ramming cars 
  12. > forward velocity and add it to the victim.  For example:
  13.  
  14. [things deleted]
  15.  
  16. > So, what happened?  Well, Car A transferred 25% of its velocities to Car 
  17. > B and lost 8.33% to friction, heat, etc.  Car B transferred 12.5% of its 
  18. > vertical velocity to Car B, but because Car A's horizontal component was 
  19. > greater than Car B's, there was no return transfer.  (Also note that I 
  20. > made these percentages up - increase or reduce them depending on how 
  21. > bouncy you want the cars to be...)
  22.  
  23. Well, it is not realistic at all...
  24. If you have patience i will go home and look on my books...
  25.  
  26. Sure there is an equation (or two) which can describe every collision you 
  27. want...
  28. If I remember right it was quite long... but not very complex.
  29.  
  30. I think you want elastic collision, that are collisions were total energy 
  31. is conserved. They are more simple... note that  the previous description 
  32. of loss of energy was completely false.
  33. There is not energy loss during collision but the heat produced by the hit.
  34.  
  35. If you simply want the two machine bouncing back with relative velocity 
  36. it is very simple (I think... I have to check the equations) and you can 
  37. forget the energy loss (which is minimal with repect to the energy 
  38. involved in the collision).
  39.  
  40. See you soon
  41.  
  42. M&F
  43.  
  44.